aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/events/[...id].astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/events/[...id].astro')
-rw-r--r--src/pages/events/[...id].astro9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/pages/events/[...id].astro b/src/pages/events/[...id].astro
index 590a5c6..4c9665e 100644
--- a/src/pages/events/[...id].astro
+++ b/src/pages/events/[...id].astro
@@ -1,6 +1,6 @@
---
import Breadcrumbs from '@/components/Breadcrumbs.astro'
-import EventNavigation from '@/components/EventNavigation.astro'
+import PostNavigation from '@/components/PostNavigation.astro'
import TOCHeader from '@/components/TOCHeader.astro'
import TOCSidebar from '@/components/TOCSidebar.astro'
import { badgeVariants } from '@/components/ui/badge'
@@ -116,9 +116,10 @@ const tocSections = await getTOCSections(currentEventId)
<Content />
</article>
- <EventNavigation
- newerEvent={navigation.newer}
- olderEvent={navigation.older}
+ <PostNavigation
+ newerPost={navigation.newer}
+ olderPost={navigation.older}
+ baseURL="/events/"
/>
</section>